﻿using System.Collections.Generic;

namespace Hiver.WebApi.Models
{
    /// <summary>
    /// 权限信息模型
    /// </summary>
    public class AuthInfo
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string username { get; set; }
        /// <summary>
        /// 角色列表
        /// </summary>
        public List<string> roles { get; set; }
        /// <summary>
        /// 是否为超级管理员
        /// </summary>
        public bool isAdmin { get; set; }
    }
}